[@com.header _title="用户登录"]
<link rel="stylesheet" href="${base}/res/components/bootstrapvalidator/dist/css/bootstrapValidator.css"/>
[/@com.header]
[#assign globalConfig = systemConfig()]
<body class="hold-transition login-page">
<div class="login-box">
  <div class="login-logo">
    <b>${(globalConfig.title)?has_content?string(globalConfig.title,"LMaster")}</b>
  </div>
  <!-- /.login-logo -->
  <div class="login-box-body">
    <p class="login-box-msg">用户登录</p>
    <input type="hidden" id="from" value="${base}/master" />
    <form action="${base}/doLogin" method="post" onsubmit="return false">
      <div class="form-group has-feedback">
        <input type="text" name="userName" class="form-control input-lg" placeholder="请输入用户名" required>
        <span class="fa fa-user form-control-feedback feedback-left"></span>
      </div>
      <div class="form-group has-feedback">
        <input type="hidden" name="password" id="password" />
        <input type="password" name="password1" id="password1" exclude class="form-control input-lg" placeholder="请输入密码" required>
        <span class="fa fa-lock form-control-feedback feedback-left"></span>
      </div>
      <div class="row">
        <div class="col-xs-4">
          <button type="submit" class="btn btn-primary btn-lg btn-block btn-flat">登录</button>
        </div>
        <!-- /.col -->
      </div>
    </form>
  </div>
  <!-- /.login-box-body -->
</div>
<!-- /.login-box -->
<script type="text/javascript" src="${base}/res/components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="${base}/res/components/toastr/toastr.min.js"></script>
<script type="text/javascript" src="${base}/res/components/bootstrapvalidator/dist/js/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="${base}/res/components/bootstrapvalidator/dist/js/language/zh_CN.js"></script>
<script type="text/javascript" src="${base}/res/plugins/jquery.md5.min.js"></script>
<script type="text/javascript" src="${base}/res/js/base.js"></script>
<script type="text/javascript" src="${base}/res/js/login.js"></script>
</body>
</html>